package cn.just.food.Test;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import cn.just.food.dao.UserDao;
import cn.just.food.entity.User;

class TestMethod2 {

	@Test
	public void test2() {
		String phone = "13642650033";
		String pwd = "456";
		UserDao dao = new UserDao();
		User user = null;
		user = dao.findByPhoneAndPwd(phone, pwd);
		System.out.println(user.getNickname());
	}

}
